package org.nemanjaristic.database.managers;

import java.io.Serializable;
import java.util.List;

public interface EntityManager<T, ID extends Serializable> {

	public T add(T entity);

	public void update(T entity);

	public void remove(T entity);

	public T get(ID id);

	public List<T> getAll();
}
